package com.module.framework.mapper;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.module.framework.domain.Book;
import com.module.framework.domain.NowLend;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NowLendMapper extends BaseMapper<NowLend> {

    List<NowLend> selectByIdList(Long id, Integer pageNum, Integer pageSize);

    List<NowLend> selectAllList(Integer pageNum, Integer pageSize, @Param("name") String name, Integer cateId, String author, String userName, Integer deadFlag, Integer status);

    NowLend selectByIdVO(Integer id);

}
